package com.ktjiaoyu.service;

import com.ktjiaoyu.pojo.News;
import com.ktjiaoyu.utils.R;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: DABINGCHNEGJIAO
 * @CreateTime: 2025-05-29
 * @Description:
 * @Version: 1.0
 */
public interface NewsService {
     R SelectNewsByPage(String title, String author, Integer typeId,Integer pageNum, Integer pageSize);

     R deleteNewsById(Integer id);

   R deleteNewsByIds(@Param("ids") List<Integer> ids);

   R saveNews(News news);
}
